Tootfinder

Opt-in global Mastodon full text search. Join the index!

No exact results. Similar results found.
@aral@mastodon.ar.al
2024-03-13 20:18:56

New in Kitten¹: Markdown fragments
You can now write your Markdown in separate .fragment.md files and `import()` them as if they were JavaScript modules, just like you can with HTML and CSS fragments.
And while they don’t support props, they do support slots (including named slots, which you can use as poor man’s props.)
Enjoy!
:kitten: 💕
¹

Screenshot of code open in Helix Editor (active tab: index.page.js, inactive tabs: Markdown.fragment.md, Markup.fragment.md, Styles.fragment.md):

import Markup from './Markup.fragment.html'
import Styles from './Styles.fragment.css'
import Markdown from './Markdown.fragment.md'

export default () => kitten.html
  <page css>
  <${Markup} />

  <${Markdown}>
    <content for='title'>This is the title</content>
    <content for='date'>${new Date()}</content>
    <button>I’ve been slotted in.</but…
Screenshot of code for Markdown.fragment.md:

## And this is from a markdown file

As is this.

- Title: __${SLOT.title}__
- Date: __${SLOT.date}__

${SLOT}

And the content above was slotted into a markdown file.
Screenshot of code for Markup.fragment.html:

<div>
  <h1>This is from an HTML fragment.</h1>
  <p>As is this.</p>
</div>
Screenshot of the resulting page, rendered in a web browser:

H1: This is from an HTML fragment.

Paragraph: As is this.

H2: And this is from a markdown file

Paragraph: As is this.

List item: Title: This is the title

List item: Date: Wed Mar 13 2024 20:07:03 GMT+0000 (Greenwich Mean Time)

Button: I’ve been slotted in.

Paragraph: And the content above was slotted into a markdown file.
@metacurity@infosec.exchange
2024-04-16 12:47:01

Don't miss today's Metacurity for the most critical infosec developments you should know today, including
--Researchers stopped XZ Utils-Type malicious Actors targeting three JavaScript projects
--RansomHub starts leaking Change Healthcare data,
-- Hackers stole some Cisco Duo's customers' VoIP and SMS logs,
--Cryptojacker busted for stealing cloud services,
--Chirp Systems silent on smart lock vulnerability,
--Critics question Microsoft's incentive to improve security,
--FTC slams Cerebral for sharing customers' health info with advertisers,
--Ukraine hackers claim Russian drone developer breach,
--Palo Alto rolls out fixes for zero-day,
--much more
metacurity.com/p/researchers-s

@kexpmusicbot@mastodonapp.uk
2024-05-16 17:57:51

🔊 #NowPlaying on KEXP's #MiddayShow
Charles Bradley and Menahan Street Band:
🎵 Cumberland Blues
#CharlesBradleyandMenahanStreetBand
open.spotify.com/track/2fBkmZl

@noellabo@fedibird.com
2024-04-05 04:01:55

Threadsのアカウントをfedibird.comとか自分の所属サーバからフォローしたい時に、前に作ったこのブックマークレット使うと簡単だね。
Threadsでフォローしたい人のプロフィールページを開いて、登録しておいたブックマークレットを使うと、所属サーバ(ここではfedibird.com)でプロフィールを開いてくれる。
ここでのフォローボタンはfedibird.comからのフォローになる。
ブックマークレットはjavascriptをブックマークのURLとして指定する技。
『フェディバースにシェア』していないアカウントの場合はエラーがでる。
QT: fedibird.com/@noellabo/1112895
[参照]

@zachleat@zachleat.com
2024-04-16 21:29:02

@… @… adding more to the bundle?? what is this, JavaScript?

@azonenberg@ioc.exchange
2024-04-16 08:17:53

As someone who's written code at one time or another in C, C , Verilog, SystemVerilog, VHDL, GLSL, PHP, JavaScript, Pascal, Oz, Java, Salsa, i386 assembly, PIC12 assembly, MIPS assembly, x86-64 assembly, ARM assembly, Prolog, Bash, VBScript, DOS batch files, FEI AutoScript, CMake, and even a few dozen lines of Python years back...
I can confidently say Rust is alien technology.
Maybe one day I'll grok it but today I feel like I sat down in front of a Klingon PC and tried…

@KingShawn@mastodon.social
2024-02-16 00:45:24

Those of us who are privileged to know Black women are NOT surprised. ❤️ mastodon.social/@jeffjarvis/11

@philip@mastodon.mallegolhansen.com
2024-05-16 16:51:15

A JS zinger from @…’s “Refactoring”:
“The Mocha framework can use different libraries, which it calls assertion libraries, to verify the fixture for a test. Being JavaScript, there are a quadzillion of them out there, some of which may still be current when you’re reading this.”
(Chapter 4, page 92, in the second edition print version)

@privacity@social.linux.pizza
2024-05-16 10:17:09

Html e JavaScript dietro le sbarre. Aumenta l’autostima nei detenuti studiando informatica
poliverso.org/display/0477a01e
Html e JavaScript dietro le sbarre. Aumenta l’autostima nei detenuti studiando informatica I …

@zachleat@zachleat.com
2024-04-16 17:37:28

@… why let the browser progressively render HTML when you can use JavaScript to do it slower 😭🫠